//
// Created by yyancy on 2019/10/27.
//

#include <stdio.h>
#include "letter.h"

void display(ADDR *top) {
    int i = 1;
    for (ADDR *cur = top->next; cur != NULL; cur = cur->next) {
        printf("%d\tname=%s\ttel=%s\n", i++, cur->name, cur->tel);
    }
}